package com.book.service;

import com.book.model.Operator;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wx
 * @since 2023-10-12 08:17:13
 */
public interface OperatorService extends IService<Operator> {

    List<Operator> getAll();

    List<Map<String, Object>> ztreeGetMenuList(HttpSession session);

    void addOperator(Operator operator, Long[] rid);

    void updaterOperator(Operator operator, Long[] rid);

    void deleteOperator(Long oid);
}
